<% layout('layout') %>
<div ng-controller="CenterCtrl" class="scor-bg-eee" >
    <div class="scor-bg-eee scor-min-height-200 am-g">
        <div class="am-u-sm-4 scor-no-padding scor-min-height-180">
            <div class="scor-height-70 am-text-center am-text-middle am-margin-top-sm" data-am-modal="{target: '#my-alert-lvl-1'}"><% if(user.levelname=="普通会员"){ %><img src="/images/u/lv12.png" class="scor-img-45 "><% }else{ %> <img src="/images/u/lv1.png" class="scor-img-45 "><% }%><br/><span class="am-margin-0 scor-color-888 scor-font-size-12">普通会员</span></div>
            <div class="scor-height-70 am-text-center am-text-middle am-margin-top-sm" data-am-modal="{target: '#my-alert-lvl-2'}"><% if(user.levelname=="银卡会员"){ %><img src="/images/u/lv22.png" class="scor-img-45 "><% }else{ %> <img src="/images/u/lv2.png" class="scor-img-45 "><% }%><br/><span class="scor-color-888 scor-font-size-12 am-margin-left-lg">银卡会员</span></div>

        </div>
        <div class="am-u-sm-4 scor-no-padding  scor-min-height-180">
            <div class="scor-height-140 am-text-center am-text-middle am-margin-top-lg">
                <img src="<%= user.headimg%>" class="scor-img-100 am-circle">
            </div>
            <div class="scor-height-80 am-text-center am-text-middle am-margin-0" data-am-modal="{target: '#my-alert-lvl-3'}"><% if(user.levelname=="金卡会员"){ %><img src="/images/u/lv32.png" class="scor-img-45 "><% }else{ %> <img src="/images/u/lv3.png" class="scor-img-45 "><% }%><br/><span class="am-margin-0 scor-color-888 scor-font-size-12">金卡会员</span></div>
        </div>
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee">
            <div class="scor-height-70 am-text-center am-text-middle am-margin-top-sm"  data-am-modal="{target: '#my-alert-lvl-5'}"><% if(user.levelname=="终身VIP"){ %><img src="/images/u/lv52.png" class="scor-img-45 "><% }else{ %> <img src="/images/u/lv5.png" class="scor-img-45 "><% }%><br/><span class="am-margin-0 scor-color-888 scor-font-size-12">终身会员</span></div>
            <div class="scor-height-70 am-text-center am-text-middle am-margin-top-sm" data-am-modal="{target: '#my-alert-lvl-4'}"><% if(user.levelname=="钻石会员"){ %><img src="/images/u/lv42.png" class="scor-img-45 "><% }else{ %> <img src="/images/u/lv4.png" class="scor-img-45 "><% }%><br/><span class=" scor-color-888 scor-font-size-12 am-margin-right-lg">钻石会员</span></div>

        </div>
    </div>
    <div class="am-g am-margin-left-0 ">
        <!--<div class="am-u-sm-4 scor-no-padding scor-bg-eee" >-->
            <!--<div class="height-width">-->
            <!--</div>-->
        <!--</div>-->
        <!--<div class="am-u-sm-4 scor-no-padding scor-bg-eee" >-->
            <!--<div class="height-width ">-->
            <!--</div>-->
        <!--</div>-->
        <!--<div class="am-u-sm-4 scor-no-padding scor-bg-eee" >-->
            <!--<div class="height-width ">-->
            <!--</div>-->
        <!--</div>-->
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width scor-bg-FF9600-1 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle">
                <p class=" scor-color-FFF scor-font-size-15">你是<br/><span class="scor-font-size-15"><%= user.levelname%></span></p>
            </div>
        </div>
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width scor-bg-FECA14-2 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle">
                <p class=" scor-color-FFF scor-font-size-15">折扣<br/><span class="scor-font-size-15"><%= user.discount%></span></p>
            </div>
        </div>
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width scor-bg-A5D600-3 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle">
                <p class=" scor-color-FFF scor-font-size-15">加入时间<br/><span class="scor-font-size-15"><%= user.jointime%></span></p>
            </div>
        </div>
    </div>
    <div class="am-g am-margin-left-0 " >
        <div class="am-u-sm-6 scor-no-padding scor-bg-eee">
            <div class="height-width-child scor-bg-FF5F67-4 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle" ng-click="jump_scor('/user/chongzhi')">
                <p class=" scor-color-FFF">余额充值</p>
            </div>
        </div>
        <div class="am-u-sm-6 scor-no-padding scor-bg-eee">
            <div class="height-width scor-bg-00D4AB-5 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle" ng-click="jump_scor('/user/bindPhone')">
                <p class=" scor-color-FFF " >绑定-更换安全手机<br/><span class=""><%= user.bdPhone%></span></p>
            </div>
        </div>
    </div>

    <div class="am-g am-margin-left-0 ">
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width-child scor-bg-FF9600-1 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle" ng-click="ifsetpwd()">
                <p class=" scor-color-FFF scor-font-size-15">设置支付密码</p>
            </div>
        </div>
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width-child scor-bg-FECA14-2 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle" ng-click="jump_scor('/user/password/xg')">
                <p class=" scor-color-FFF scor-font-size-15">修改支付密码</p>
            </div>
        </div>
        <div class="am-u-sm-4 scor-no-padding scor-bg-eee" >
            <div class="height-width-child scor-bg-A5D600-3 scor-margin-2 scor-border-radius-5 am-text-center am-text-middle" ng-click="jump_scor('/user/password/zh')">
                <p class=" scor-color-FFF scor-font-size-15">找回支付密码</p>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert-lvl-5">
        <div class="am-modal-dialog">
            <div class="am-modal-hd scor-color-B400FF-lv5 scor-font-weight-700">终身VIP</div>
            <div class="am-modal-bd scor-font-size-15">
                折扣：8.5折,消费满50000元用户
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert-lvl-4">
        <div class="am-modal-dialog">
            <div class="am-modal-hd scor-color-FF5353-lv4 scor-font-weight-700">钻石会员</div>
            <div class="am-modal-bd scor-font-size-15">
                折扣：9.0折,消费满10000元用户
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert-lvl-3">
        <div class="am-modal-dialog">
            <div class="am-modal-hd scor-color-FFCC00-lv3 scor-font-weight-700">金卡会员</div>
            <div class="am-modal-bd scor-font-size-15">
                折扣：9.2折,消费满4000元用户
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert-lvl-2">
        <div class="am-modal-dialog">
            <div class="am-modal-hd scor-color-FF8000-lv2 scor-font-weight-700">银卡会员</div>
            <div class="am-modal-bd scor-font-size-15">
                折扣：9.5折,消费满2000元用户
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>
    <div class="am-modal am-modal-alert" tabindex="-1" id="my-alert-lvl-1">
        <div class="am-modal-dialog">
            <div class="am-modal-hd scor-color-00E7D4-lv1 scor-font-weight-700">普通会员</div>
            <div class="am-modal-bd scor-font-size-15">
                折扣：无折扣,消费不满2000元的用户
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>


</div>
<% block('footer').append('<script src="'+CDN+'script/center.js"></script>') %>

